import { computed } from "vue";
import i18n from "@/i18n";
const { t } = i18n.global;
// 团队说明列表数据
export const ruleListData = [
  {
    name: computed(() => t("generation")),
    condition: computed(() => `${t("directPush")}1${t("people")}`),
    proportion: "9%",
  },
  {
    name: computed(() => t("secondGeneration")),
    condition: computed(() => `${t("directPush")}2${t("people")}`),
    proportion: "7%",
  },
  {
    name: computed(() => t("threeGenerations")),
    condition: computed(() => `${t("directPush")}3${t("people")}`),
    proportion: "5%",
  },
  {
    name: computed(() => t("fourGenerations")),
    condition: computed(() => `${t("directPush")}4${t("people")}`),
    proportion: "3%",
  },
  {
    name: computed(() => t("fiveGenerations")),
    condition: computed(() => `${t("directPush")}5${t("people")}`),
    proportion: "2%",
  },
  {
    name: computed(() => t("sixGenerations")),
    condition: computed(() => `${t("directPush")}6${t("people")}`),
    proportion: "7%",
  },
  {
    name: computed(() => t("sevenGenerations")),
    condition: computed(() => `${t("directPush")}7${t("people")}`),
    proportion: "5%",
  },
  {
    name: computed(() => t("eightGenerations")),
    condition: computed(() => `${t("directPush")}8${t("people")}`),
    proportion: "3%",
  },
  {
    name: computed(() => t("nineGenerations")),
    condition: computed(() => `${t("directPush")}9${t("people")}`),
    proportion: "2%",
  },
  {
    name: computed(() => t("tenGenerations")),
    condition: computed(() => `${t("directPush")}10${t("people")}`),
    proportion: "7%",
  },
];

// 梯队收益数据
export const validDirectNumListData = [
  "--",
  t("generation"),
  t("secondGeneration"),
  t("threeGenerations"),
  t("fourGenerations"),
  t("fiveGenerations"),
  t("sixGenerations"),
  t("sevenGenerations"),
  t("eightGenerations"),
  t("nineGenerations"),
  t("tenGenerations"),
];

export const actionsListData = [
  { text: computed(() => t("simplifiedChinese")), value: "zh" },
  { text: computed(() => t("traditionalChineseCharacter")), value: "ts" },
  { text: computed(() => t("english")), value: "en" },
]

export const menuListData = [
  // { text: computed(() => t("home")), value: "1" },
  { text: computed(() => t("homeRight")), value: "2" }
]
